Pavel Holejsovsky [Fri, 23 Mar 2012 06:09:02 +0000 (07:09 +0100)]
Fix sourcedir!=builddir .gir build from source tarball
Setting -I$(top_builddir) before -I$(top_srcdir) causes that
g-ir-scanner picks up boxing definitions generated by glib-mkenums.
https://bugzilla.gnome.org/show_bug.cgi?id=672133
Kristian Rietveld [Sun, 19 Feb 2012 15:08:26 +0000 (16:08 +0100)]
[quartz] Fix manual resizing of windows
In the Quartz backend, there are two methods by which windows are
resized. The first method is fully handled by Quartz and does not appear
in the event stream the application resizes. The second method is when
we resize windows by ourselves. In OS X this happens when a GTK+ resize
grip is used. This resize grip is larger than the Quartz resize grip.
When the resize is started outside the "Quartz area", we have to handle
it by ourselves.
This patch fixes this manual window resizing by ignoring events while we
are in the process of resizing (such that the events actually arrive at
the sendEvent handler of GdkQuartzWindow where this resize is handled).
When the resize has finished we break all grabs such that GDK is not
stuck thinking the cursor is still in the resize window.
Kristian Rietveld [Sun, 19 Feb 2012 15:02:09 +0000 (16:02 +0100)]
Export break_all_grabs() within Quartz backend
Function was renamed to _gdk_quartz_events_break_all_grabs().
Carles Ferrando [Tue, 10 Apr 2012 19:22:30 +0000 (21:22 +0200)]
[l10n]Updated Catalan (Valencian) translation
Jordi Serratosa [Tue, 10 Apr 2012 19:22:22 +0000 (21:22 +0200)]
[l10n] Fixes on Catalan translation
Carles Ferrando [Tue, 10 Apr 2012 19:21:06 +0000 (21:21 +0200)]
[l10n]Updated Catalan (Valencian) translation
Jordi Serratosa [Tue, 10 Apr 2012 19:20:55 +0000 (21:20 +0200)]
[l10n] Fixes on Catalan translation
Benjamin Otte [Tue, 10 Apr 2012 14:55:05 +0000 (16:55 +0200)]
styleproperty: 3rd hotfix for a 3-line patch
I really should not write code sometimes...
Copy/paste error this time.
Benjamin Otte [Tue, 10 Apr 2012 14:14:59 +0000 (16:14 +0200)]
Revert part of "textview: Remove extra magic for drawing children"
This partially reverts commit
df37446f9b4116887865b7ecfddeb535fbc0eacb.
The commit changed API that was public (or at least semi-public) and
it's not worth changing that.
The original bug should still be fixed.
https://bugzilla.gnome.org/show_bug.cgi?id=673839
Benjamin Otte [Mon, 9 Apr 2012 18:33:46 +0000 (20:33 +0200)]
styleproperty: Fix thinko
Introduced in
8243b16ad79cb4965ab5314e53a20ef16b2af9c3 - seems I wasn't
really on top of my own capabilities on Saturday.
Benjamin Otte [Mon, 9 Apr 2012 01:27:18 +0000 (03:27 +0200)]
Benjamin Otte [Sat, 7 Apr 2012 19:32:39 +0000 (21:32 +0200)]
styleproperty: Save some memory
Only create a new CssValue when we actually need one.
Benjamin Otte [Sat, 7 Apr 2012 15:24:50 +0000 (17:24 +0200)]
customproperty: Ensure style properties are registered
... before reigstering our own. Also, use that capability to emit a
warning.
Benjamin Otte [Mon, 9 Apr 2012 01:05:12 +0000 (03:05 +0200)]
csscustomproperty: Redo RGBA/Color parsing
This fixes custom parse functions returning RGBA values where we
expected symbolic colors.
Benjamin Otte [Mon, 9 Apr 2012 00:54:17 +0000 (02:54 +0200)]
tests: Add a uint8 test
... to ensure the last test works.
Benjamin Otte [Mon, 9 Apr 2012 00:51:07 +0000 (02:51 +0200)]
cssvalue: Re-add support for random value types
This got lost in the CssValue transition, and apparently some people use
this.
Pavel Holejsovsky [Fri, 23 Mar 2012 06:09:02 +0000 (07:09 +0100)]
entrycompletion: set_property() should call property setters
gtk_entry_completion_set_property() was setting many properties by
directly modifying priv values, bypassing notification invocation and
possibly another actions done by gtk_completion_entry_set_xxx ()
functions. Fix by invoking set_xxx() instead of setting the property
value directly.
The real bug observerd was that setting text-column property using
g_object_set() caused SIGFPE later when entry completion was about to
appear. gtk_entry_completion_set_text_column () apparently does way
more important things than just setting priv->text_column member.
https://bugzilla.gnome.org/show_bug.cgi?id=673693
Benjamin Otte [Tue, 3 Apr 2012 16:41:25 +0000 (18:41 +0200)]
textview: Remove extra magic for drawing children
Instead, just draw the children. The cairo code will keep track of
things, so there's no need to track things.
Also, the old code was doing it wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=672544
Benjamin Otte [Sat, 31 Mar 2012 01:35:48 +0000 (03:35 +0200)]
csscomputedvalues: Unref old value when setting new one
Benjamin Otte [Mon, 2 Apr 2012 01:20:06 +0000 (03:20 +0200)]
docs: Add gtkx.h to the list of headers
Benjamin Otte [Thu, 29 Mar 2012 11:41:32 +0000 (13:41 +0200)]
treeview: Don't cache expander size
Style properties should not be cached, they should be queried live.
Also, this fixes the case where the expander size wasn't set when
constructing the widget which caused expanders to go missing.
Benjamin Otte [Sun, 18 Mar 2012 13:02:58 +0000 (14:02 +0100)]
widget: Create style context using regular API
Benjamin Otte [Tue, 20 Mar 2012 03:06:49 +0000 (04:06 +0100)]
menu: Undo a hack with style contexts
Widget implementations aren't allowed to fiddle with the widget's style
context.
Sheesh.
Benjamin Otte [Sat, 7 Apr 2012 10:56:39 +0000 (12:56 +0200)]
tray: Add suggested braces around empty body in 'if' statements
Benjamin Otte [Sat, 7 Apr 2012 10:55:30 +0000 (12:55 +0200)]
win32: Move variable declarations into #if block
Benjamin Otte [Sat, 7 Apr 2012 10:50:40 +0000 (12:50 +0200)]
x11: Add suggested braces around empty body in 'if' statements
Matthias Clasen [Sat, 7 Apr 2012 00:25:21 +0000 (20:25 -0400)]
Don't force BUTTON1_MASK on non-touch events
This problem was pointed out by Hans de Goede in
https://bugzilla.gnome.org/show_bug.cgi?id=673458
Matthias Clasen [Sat, 7 Apr 2012 00:00:35 +0000 (20:00 -0400)]
xi2: Remove touchscreen heuristics
It doesn't make sense to consider a device a touchscreen if it
doesn't have any touch classes. Even if it has 'touch' in its
name.
https://bugzilla.gnome.org/show_bug.cgi?id=673440
Chun-wei Fan [Fri, 6 Apr 2012 04:11:40 +0000 (12:11 +0800)]
Update libgail-util Visual C++ projects
Make the output .lib name more consistent with the GDK/GTK+ output .lib
naming.
Chun-wei Fan [Thu, 5 Apr 2012 16:24:34 +0000 (00:24 +0800)]
Update gdk-win32 Visual C++ projects
A new source file gdkdevice-virtual.c was added in commit
24f9ca92 for the
Win32 GDK backend, so add that file to the list of source files to compile.
Benjamin Otte [Thu, 5 Apr 2012 13:48:51 +0000 (15:48 +0200)]
gtk: Don't call gdk_window_process_updates() when scrolling
This can cause lagging when scrolling as it causes us to repaint
on every scroll event. This wasn't historically a great problem,
but with smooth scrolling we get a lot more events, so this
now creates visible lagging on slower machines.
ManojKumar Giri [Thu, 5 Apr 2012 11:38:19 +0000 (17:08 +0530)]
Updated Odia Translation
Benjamin Otte [Thu, 5 Apr 2012 09:30:41 +0000 (11:30 +0200)]
paned: Shrinkable widgets don't require a size
This could otherwise lead to very funny size request behaviors, in
particular in empathy.
https://bugzilla.gnome.org/show_bug.cgi?id=587441
Rui Matos [Wed, 4 Apr 2012 13:54:32 +0000 (15:54 +0200)]
x11: Don't ignore button releases after a wmspec move/resize
_gdk_x11_moveresize_configure_done() isn't called for wmspec
moves/resizes so we don't have a way to notice when a wmspec
move/resize ends and consequently untrigger the sending of
_NET_WM_MOVERESIZE_CANCEL which results in this message always being
sent on the next button release event. In that case we are marking
that event as handled so it isn't processed further which breaks
button press/release event handling in several widgets.
To fix this we simply allow the normal event handling machinery to run
after sending the _NET_WM_MOVERESIZE_CANCEL message.
https://bugzilla.gnome.org/show_bug.cgi?id=673328
Rui Matos [Wed, 4 Apr 2012 15:42:02 +0000 (17:42 +0200)]
configure.ac: Clean the ms-windows related stuff
Build fix and cleanup for the ms-windows engine removal.
Rui Matos [Sat, 31 Mar 2012 14:01:36 +0000 (16:01 +0200)]
x11: Set GdkToplevelX11.have_focused on creation
Since the order in which _NET_WM_STATE and _NET_WM_DESKTOP are set, or
even *if* they are set, isn't defined, we could end up unsetting
GDK_WINDOW_STATE_FOCUSED given that both handlers for these two X
properties end up doing window state changes for all states. As we
want GDK_WINDOW_STATE_FOCUSED to be set by default we need to set its
master flag by default as well.
https://bugzilla.gnome.org/show_bug.cgi?id=673125
Nelson Benitez Leon [Tue, 3 Apr 2012 15:33:15 +0000 (17:33 +0200)]
gtktreeview: don't handle extra mouse buttons
Don't handle mouse button events greater than 5 so
they can bubble up to be used by the application.
This was causing nautilus list view to not go forward
and backwards when pressing the extra mouse buttons
designated for that.
Fixes bug 673441
Signed-off-by: Nelson Benitez Leon <nbenitezl@gmail.com>
ManojKumar Giri [Wed, 4 Apr 2012 12:36:30 +0000 (18:06 +0530)]
Updated Odia Translation
Alexander Larsson [Tue, 3 Apr 2012 17:34:02 +0000 (19:34 +0200)]
win32: Remove the ms-windows engine
This is not used for the windows theme anymore, and is in fact completely
useless. The code is still in git if anyone wants to look at it.
Alexander Larsson [Tue, 3 Apr 2012 17:26:15 +0000 (19:26 +0200)]
win32: Fall back to raleigh with the classic theme
This is not ideal, we should have a real classic windows theme,
but at least its better than everything being pink, which is what
happens otherwise when theming is not enables.
Alexander Larsson [Tue, 3 Apr 2012 09:35:25 +0000 (11:35 +0200)]
gdk: Remove GdkDisplay->ignore_core_pointer
This is not used anywhere anymore
Alexander Larsson [Fri, 30 Mar 2012 12:59:17 +0000 (14:59 +0200)]
win32: Fix up wintab support
We now have a proper MASTER/SLAVE input device split, where
the masters are virtual core input devices and we add fake hw
slave devices for the system pointer and real slave devices for
wintab devices.
We also set the proper source_device on the events so you can
tell which device sent it and properly decode the axis info.
Alexander Larsson [Tue, 3 Apr 2012 08:54:25 +0000 (10:54 +0200)]
Add _gdk_device_get_axis_info
This is needed for the win32 master/slave handling code.
Alexander Larsson [Tue, 3 Apr 2012 08:51:36 +0000 (10:51 +0200)]
testinput: Fix cursor rendering
Make sure custom cursors are rendered at integer coordinates,
otherwise there will be leftover alpha borders when we remove the
cursor.
Javier Jardón [Tue, 3 Apr 2012 02:16:35 +0000 (03:16 +0100)]
configure.ac: Depend on the corresponding stable versions
Mario Blättermann [Sun, 1 Apr 2012 09:14:41 +0000 (11:14 +0200)]
[l10n] Updated German translation
Matthias Clasen [Fri, 30 Mar 2012 21:37:06 +0000 (17:37 -0400)]
Fix a link
As pointed out in bug 673139, the link to the mailing list
information page was outdated.
Jasper St. Pierre [Fri, 30 Mar 2012 18:05:46 +0000 (14:05 -0400)]
gactionmuxer: Fix list_actions
The code there before was just completely wrong
https://bugzilla.gnome.org/show_bug.cgi?id=673200
Matthias Clasen [Thu, 29 Mar 2012 22:58:12 +0000 (18:58 -0400)]
filechooser: Fix entry completion
Inserting the selected completion did not actually work. Oops.
https://bugzilla.gnome.org/show_bug.cgi?id=673090
Matthias Clasen [Thu, 29 Mar 2012 22:57:52 +0000 (18:57 -0400)]
Amend the release notes
Alexander Larsson [Thu, 29 Mar 2012 11:57:22 +0000 (13:57 +0200)]
css: Only keep around GtkCssSections if GTK_CSS_DEBUG env var set
These are used purely for CSS debugging, and was using over 100k just
starting up gtk3-demo.
Rob Bradford [Thu, 22 Mar 2012 12:11:57 +0000 (12:11 +0000)]
build: Don't use Wayland GtkClipboard implementation if also building for X
Workaround for: https://bugzilla.gnome.org/show_bug.cgi?id=672358
Marek Černocký [Thu, 29 Mar 2012 06:34:07 +0000 (08:34 +0200)]
Updated Czech translation
Murray Cumming [Wed, 28 Mar 2012 09:26:22 +0000 (11:26 +0200)]
GtkApplication Docs: Add a hint.
gtk_application_set_app_menu(), gtk_application_set_menubar():
Mention that you probably want to call this in the startup signal
handler. If you do it earlier you will likely get a warning about
a missing D-Bus connection, because doing it earlier does not
make sense anyway.
Sandeep Sheshrao Shedmake [Wed, 28 Mar 2012 03:29:18 +0000 (08:59 +0530)]
Updated Marathi Translations
Benjamin Otte [Wed, 28 Mar 2012 00:29:56 +0000 (20:29 -0400)]
Fix for bug 672961 - Custom theme can crash apps with GtkEntryCompletion
Cosimo Cecchi [Mon, 26 Mar 2012 20:14:08 +0000 (16:14 -0400)]
treeview: filter out invisible columns in get_path_for_child()
Since we check for !list->next (and !list->prev for RTL) to set the
GTK_REGION_LAST flag, we have to filter out invisible columns before
looping; if we don't do that we might end up assigning GTK_REGION_LAST
to an invisible column.
https://bugzilla.gnome.org/show_bug.cgi?id=672937
Sandeep Sheshrao Shedmake [Tue, 27 Mar 2012 12:26:01 +0000 (17:56 +0530)]
Updated Marathi Translations
Daniel Korostil [Mon, 26 Mar 2012 18:00:49 +0000 (21:00 +0300)]
Uploaded Ukranian
Petr Kovar [Mon, 26 Mar 2012 16:17:32 +0000 (18:17 +0200)]
Update Czech translation
Daniel Nylander [Mon, 26 Mar 2012 16:02:42 +0000 (18:02 +0200)]
Updated Swedish translation
Matthias Clasen [Mon, 26 Mar 2012 14:14:43 +0000 (10:14 -0400)]
Bump version
Matthias Clasen [Mon, 26 Mar 2012 13:19:05 +0000 (09:19 -0400)]
3.4.0
Matthias Clasen [Mon, 26 Mar 2012 13:18:52 +0000 (09:18 -0400)]
Add release note about scroll events
Matthias Clasen [Mon, 26 Mar 2012 13:17:57 +0000 (09:17 -0400)]
Some updates to the installation instructions
Mention X11 build requirements (since XInput2 is something of
an actual requirement, as opposed to 'newer than R5').
Matthias Clasen [Mon, 26 Mar 2012 13:17:45 +0000 (09:17 -0400)]
Update expected test output
Marek Černocký [Mon, 26 Mar 2012 11:53:36 +0000 (13:53 +0200)]
Updated Czech translation
Marek Černocký [Mon, 26 Mar 2012 11:24:20 +0000 (13:24 +0200)]
Updated Czech translation
Matthias Clasen [Mon, 26 Mar 2012 10:15:26 +0000 (06:15 -0400)]
Revert "GtkMenuItem: Add since 3.2 tags for 2 signals."
This reverts commit
c6e1024a86a1556ffed6e4c6c5382f2ef70667d4.
Rajesh Ranjan [Mon, 26 Mar 2012 09:12:21 +0000 (14:42 +0530)]
hindi translation by Chandan Kumar
Murray Cumming [Mon, 26 Mar 2012 08:50:55 +0000 (10:50 +0200)]
GtkMenuItem: Add since 3.2 tags for 2 signals.
These signals were added in this commit in 2010-09:
http://git.gnome.org/browse/gtk+/commit/gtk/gtkmenuitem.c?id=
3bd93e5bfd968d21cbcba15b952b254c41f204f9
Murray Cumming [Mon, 26 Mar 2012 08:47:47 +0000 (10:47 +0200)]
GtkColorChooser docs: Fix small typos.
Murray Cumming [Thu, 22 Mar 2012 18:49:47 +0000 (19:49 +0100)]
Docs: GtkApplication: Hint about GtkActionMap
Jiro Matsuzawa [Mon, 26 Mar 2012 04:38:46 +0000 (13:38 +0900)]
[l10n] Update Japanese translation
Petr Kovar [Sun, 25 Mar 2012 23:39:48 +0000 (01:39 +0200)]
Updated Czech translation
Rudolfs Mazurs [Sun, 25 Mar 2012 13:11:41 +0000 (16:11 +0300)]
Updated Latvian translation.
OKANO Takayoshi [Sun, 25 Mar 2012 06:24:10 +0000 (15:24 +0900)]
[l10n] Update Japanese translation
Rudolfs Mazurs [Sat, 24 Mar 2012 21:56:25 +0000 (23:56 +0200)]
Updated Latvian translation.
Matthias Clasen [Sat, 24 Mar 2012 21:19:21 +0000 (17:19 -0400)]
testgrid: add a testcase
Add a testcase for an empty, homogeneous grid.
https://bugzilla.gnome.org/show_bug.cgi?id=672763
Matthias Clasen [Sat, 24 Mar 2012 21:16:47 +0000 (17:16 -0400)]
grid: avoid a floating point exception
When a homogeneous grid has no visible children, we were
accidentally doing a division by zero. Instead, just bail
out early in this case, there is nothing to allocate anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=672763
Shankar Prasad [Sat, 24 Mar 2012 18:50:47 +0000 (00:20 +0530)]
Updated Kannada Translation
Yaron Shahrabani [Sat, 24 Mar 2012 17:24:21 +0000 (19:24 +0200)]
Updated Hebrew translation.
Shankar Prasad [Sat, 24 Mar 2012 15:14:38 +0000 (20:44 +0530)]
Updated Kannada Translation
Shankar Prasad [Sat, 24 Mar 2012 11:19:26 +0000 (16:49 +0530)]
Updated Kannada Translation
Shankar Prasad [Sat, 24 Mar 2012 11:16:51 +0000 (16:46 +0530)]
Updated Kannada Translation
Sasi Bhushan [Fri, 23 Mar 2012 15:57:31 +0000 (21:27 +0530)]
Updated Telugu Translation
Sasi Bhushan [Fri, 23 Mar 2012 15:51:58 +0000 (21:21 +0530)]
Updated Telugu Translation
Matthias Clasen [Thu, 22 Mar 2012 21:44:54 +0000 (17:44 -0400)]
x11: Deal better with L-shaped monitor arrangements
The code for calculating the per-monitor workarea was ignoring
the fact that the EWMH workarea property can only handle rectangular
workareas, and thus can't really do justice to general monitor
arrangements. As a workaround, we ignore it for anything but
the primary monitor. And we ignore it for the primary monitor
as well if it does not even cover it.
https://bugzilla.gnome.org/show_bug.cgi?id=672163
Jon McCann [Wed, 21 Mar 2012 19:54:45 +0000 (15:54 -0400)]
Ensure skipped row between sections has a nonzero height
https://bugzilla.gnome.org/show_bug.cgi?id=672587
Jon McCann [Wed, 21 Mar 2012 19:41:51 +0000 (15:41 -0400)]
Reduce row spacing in about dialog credits
https://bugzilla.gnome.org/show_bug.cgi?id=672587
Krishnababu Krothapalli [Thu, 22 Mar 2012 15:57:19 +0000 (21:27 +0530)]
Updated Telugu Translations
Automatic Mirroring [Thu, 22 Mar 2012 14:05:27 +0000 (14:05 +0000)]
Fix keyboard label translations of Chinese (China) language.
Rajesh Ranjan [Thu, 22 Mar 2012 07:36:28 +0000 (13:06 +0530)]
hindi translation
Cosimo Cecchi [Tue, 28 Feb 2012 20:36:32 +0000 (15:36 -0500)]
cellrendereraccel: don't translate Alt+Print to SysRq
We want to use Alt+Print for screenshot keybindings, so we have to avoid
translating it into SysRq, since that's what the keymap would dictate.
After talking with Owen, it sounds like doing this generically would be
a lot of work and quite hairy code, so hardcoding this should be OK.
https://bugzilla.gnome.org/show_bug.cgi?id=671006
Matthias Clasen [Thu, 22 Mar 2012 04:17:08 +0000 (00:17 -0400)]
testgtk: Show GtkSettings
Matthias Clasen [Thu, 22 Mar 2012 04:16:12 +0000 (00:16 -0400)]
entry: Don't show a num lock warning
Hardware lies about num lock, and we have no way of knowing.
https://bugzilla.gnome.org/show_bug.cgi?id=658875
Chun-wei Fan [Tue, 20 Mar 2012 06:10:14 +0000 (14:10 +0800)]
gtk/gtkwin32theme.c: Remove C99ism
Khaled Hosny [Wed, 21 Mar 2012 15:28:49 +0000 (17:28 +0200)]
Updated Arabic translation
Automatic Mirroring [Tue, 20 Mar 2012 17:01:53 +0000 (17:01 +0000)]
Update Simplified Chinese translation of property nicks
Automatic Mirroring [Tue, 20 Mar 2012 16:36:41 +0000 (16:36 +0000)]
Update Simplified Chinese translation.